<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: Timer Management Services</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__timer.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Timer Management Services</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Defines the interfaces for Timer Management Services. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer structure.  <a href="structwiced__timer__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gafcfb6bcad5801f85b6da1afef4b609f0"><td class="memItemLeft" align="right" valign="top"><a id="gafcfb6bcad5801f85b6da1afef4b609f0"></a>
typedef void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a></td></tr>
<tr class="memdesc:gafcfb6bcad5801f85b6da1afef4b609f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer callback argument type. <br /></td></tr>
<tr class="separator:gafcfb6bcad5801f85b6da1afef4b609f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5ec97ae150269b363d7107837899e12"><td class="memItemLeft" align="right" valign="top"><a id="gae5ec97ae150269b363d7107837899e12"></a>
typedef <a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#gae5ec97ae150269b363d7107837899e12">WICED_TIMER_PARAM_TYPE</a></td></tr>
<tr class="memdesc:gae5ec97ae150269b363d7107837899e12"><td class="mdescLeft">&#160;</td><td class="mdescRight">To avoid recompiling older apps. <br /></td></tr>
<tr class="separator:gae5ec97ae150269b363d7107837899e12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cd25e917632799891ef3d99a326b331"><td class="memItemLeft" align="right" valign="top"><a id="ga2cd25e917632799891ef3d99a326b331"></a>
typedef <a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga2cd25e917632799891ef3d99a326b331">TIMER_PARAM_TYPE</a></td></tr>
<tr class="memdesc:ga2cd25e917632799891ef3d99a326b331"><td class="mdescLeft">&#160;</td><td class="mdescRight">To avoid recompiling older apps. <br /></td></tr>
<tr class="separator:ga2cd25e917632799891ef3d99a326b331"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48470d659fc530baedd02acd2495e7ad"><td class="memItemLeft" align="right" valign="top">typedef void()&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga48470d659fc530baedd02acd2495e7ad">wiced_timer_callback_t</a>(<a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a> cb_params)</td></tr>
<tr class="memdesc:ga48470d659fc530baedd02acd2495e7ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function prototype for the timer call back.  <a href="#ga48470d659fc530baedd02acd2495e7ad">More...</a><br /></td></tr>
<tr class="separator:ga48470d659fc530baedd02acd2495e7ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga90ed93f708e4e32fae546ca915816628"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga90ed93f708e4e32fae546ca915816628">wiced_timer_type_e</a> { <br />
&#160;&#160;<a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628a2549b303a4872fd86914af0e42225894">WICED_MILLI_SECONDS_TIMER</a>, 
<br />
&#160;&#160;<a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628aa3896f4144996fa614d87524845eb0f1">WICED_SECONDS_TIMER</a>, 
<br />
&#160;&#160;<a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628ade26923df1e12ddac660e58afcd30953">WICED_MILLI_SECONDS_PERIODIC_TIMER</a>, 
<br />
&#160;&#160;<a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628ad2a9e4769826da64f03eeffd6a4c55ad">WICED_SECONDS_PERIODIC_TIMER</a>
<br />
 }</td></tr>
<tr class="memdesc:ga90ed93f708e4e32fae546ca915816628"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the AIROC timer types.  <a href="group__timer.html#ga90ed93f708e4e32fae546ca915816628">More...</a><br /></td></tr>
<tr class="separator:ga90ed93f708e4e32fae546ca915816628"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6bce6342b0e621f35550ed5646c31154"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga6bce6342b0e621f35550ed5646c31154">wiced_init_timer</a> (<a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *p_timer, <a class="el" href="group__timer.html#ga48470d659fc530baedd02acd2495e7ad">wiced_timer_callback_t</a> *p_timer_cb, <a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a> cb_arg, <a class="el" href="group__timer.html#ga90ed93f708e4e32fae546ca915816628">wiced_timer_type_e</a> timer_type)</td></tr>
<tr class="memdesc:ga6bce6342b0e621f35550ed5646c31154"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the timer.  <a href="#ga6bce6342b0e621f35550ed5646c31154">More...</a><br /></td></tr>
<tr class="separator:ga6bce6342b0e621f35550ed5646c31154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga88f3fefc1d119b55f4b011b80448565a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga88f3fefc1d119b55f4b011b80448565a">wiced_start_timer</a> (<a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *p_timer, uint32_t timeout)</td></tr>
<tr class="memdesc:ga88f3fefc1d119b55f4b011b80448565a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a timer.  <a href="#ga88f3fefc1d119b55f4b011b80448565a">More...</a><br /></td></tr>
<tr class="separator:ga88f3fefc1d119b55f4b011b80448565a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7823a463dbe5ac932f1c3e73407d19ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#ga7823a463dbe5ac932f1c3e73407d19ae">wiced_stop_timer</a> (<a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *p_timer)</td></tr>
<tr class="memdesc:ga7823a463dbe5ac932f1c3e73407d19ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops a timer.  <a href="#ga7823a463dbe5ac932f1c3e73407d19ae">More...</a><br /></td></tr>
<tr class="separator:ga7823a463dbe5ac932f1c3e73407d19ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff14cd08aabe6a5d074d50c4568a2859"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#gaff14cd08aabe6a5d074d50c4568a2859">wiced_is_timer_in_use</a> (<a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *p_timer)</td></tr>
<tr class="memdesc:gaff14cd08aabe6a5d074d50c4568a2859"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a timer is in use.  <a href="#gaff14cd08aabe6a5d074d50c4568a2859">More...</a><br /></td></tr>
<tr class="separator:gaff14cd08aabe6a5d074d50c4568a2859"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad18b313d83b4c4ca57f73cee258a26fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__timer.html#gad18b313d83b4c4ca57f73cee258a26fd">wiced_deinit_timer</a> (<a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *p_timer)</td></tr>
<tr class="memdesc:gad18b313d83b4c4ca57f73cee258a26fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitialize a timer instance and stops the timer if it is running.  <a href="#gad18b313d83b4c4ca57f73cee258a26fd">More...</a><br /></td></tr>
<tr class="separator:gad18b313d83b4c4ca57f73cee258a26fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga48470d659fc530baedd02acd2495e7ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48470d659fc530baedd02acd2495e7ad">&#9670;&nbsp;</a></span>wiced_timer_callback_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void() wiced_timer_callback_t(<a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a> cb_params)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function prototype for the timer call back. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cb_params</td><td>:Timer callback function </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga90ed93f708e4e32fae546ca915816628"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga90ed93f708e4e32fae546ca915816628">&#9670;&nbsp;</a></span>wiced_timer_type_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__timer.html#ga90ed93f708e4e32fae546ca915816628">wiced_timer_type_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Defines the AIROC timer types. </p>
<p>These timers are system tick driven and a systick is 1 millisecond.So the minimum timer resolution supported is 1 millisecond </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga90ed93f708e4e32fae546ca915816628a2549b303a4872fd86914af0e42225894"></a>WICED_MILLI_SECONDS_TIMER&#160;</td><td class="fielddoc"><p>Single shot milliseconds timer. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga90ed93f708e4e32fae546ca915816628aa3896f4144996fa614d87524845eb0f1"></a>WICED_SECONDS_TIMER&#160;</td><td class="fielddoc"><p>Single shot seconds timer. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga90ed93f708e4e32fae546ca915816628ade26923df1e12ddac660e58afcd30953"></a>WICED_MILLI_SECONDS_PERIODIC_TIMER&#160;</td><td class="fielddoc"><p>Periodic milliseconds timer. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga90ed93f708e4e32fae546ca915816628ad2a9e4769826da64f03eeffd6a4c55ad"></a>WICED_SECONDS_PERIODIC_TIMER&#160;</td><td class="fielddoc"><p>Periodic seconds timer. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga6bce6342b0e621f35550ed5646c31154"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bce6342b0e621f35550ed5646c31154">&#9670;&nbsp;</a></span>wiced_init_timer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_init_timer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__timer.html#ga48470d659fc530baedd02acd2495e7ad">wiced_timer_callback_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer_cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__timer.html#gafcfb6bcad5801f85b6da1afef4b609f0">wiced_timer_callback_arg_t</a>&#160;</td>
          <td class="paramname"><em>cb_arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__timer.html#ga90ed93f708e4e32fae546ca915816628">wiced_timer_type_e</a>&#160;</td>
          <td class="paramname"><em>timer_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer</td><td>:Pointer to the timer structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer_cb</td><td>:Timer callback function to be invoked on timer expiry </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cb_arg</td><td>:Parameter to be passed to the timer callback function which gets invoked on timer expiry,if any </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timer_type</td><td>:Shows if the timer is milliseconds or seconds, and if periodic or not</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga88f3fefc1d119b55f4b011b80448565a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga88f3fefc1d119b55f4b011b80448565a">&#9670;&nbsp;</a></span>wiced_start_timer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_start_timer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a timer. </p>
<dl class="section note"><dt>Note</dt><dd>: Starting an already running timer restarts the timer timeout</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer</td><td>:Pointer to the timer structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timeout</td><td>: The units of the timeout parameter is set as per the timer_type set in <a class="el" href="group__timer.html#ga6bce6342b0e621f35550ed5646c31154" title="Initializes the timer.">wiced_init_timer</a><br />
 timeout is in milliseconds if timer_type is <a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628a2549b303a4872fd86914af0e42225894" title="Single shot milliseconds timer.">WICED_MILLI_SECONDS_TIMER</a> or <a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628ade26923df1e12ddac660e58afcd30953" title="Periodic milliseconds timer.">WICED_MILLI_SECONDS_PERIODIC_TIMER</a>,<br />
 timeout is in seconds if timer_type is <a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628aa3896f4144996fa614d87524845eb0f1" title="Single shot seconds timer.">WICED_SECONDS_TIMER</a> or <a class="el" href="group__timer.html#gga90ed93f708e4e32fae546ca915816628ad2a9e4769826da64f03eeffd6a4c55ad" title="Periodic seconds timer.">WICED_SECONDS_PERIODIC_TIMER</a>,</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga7823a463dbe5ac932f1c3e73407d19ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7823a463dbe5ac932f1c3e73407d19ae">&#9670;&nbsp;</a></span>wiced_stop_timer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_stop_timer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops a timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer</td><td>:Pointer to the timer structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="gaff14cd08aabe6a5d074d50c4568a2859"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff14cd08aabe6a5d074d50c4568a2859">&#9670;&nbsp;</a></span>wiced_is_timer_in_use()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_is_timer_in_use </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if a timer is in use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer</td><td>:Pointer to the timer structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the timer is in use and FALSE if the timer is not in use </dd></dl>

</div>
</div>
<a id="gad18b313d83b4c4ca57f73cee258a26fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad18b313d83b4c4ca57f73cee258a26fd">&#9670;&nbsp;</a></span>wiced_deinit_timer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_deinit_timer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__timer__t.html">wiced_timer_t</a> *&#160;</td>
          <td class="paramname"><em>p_timer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitialize a timer instance and stops the timer if it is running. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_timer</td><td>:Pointer to the timer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
